micro_utils.dokka
0.15.0
android
micro_utils.dokka
/
dev.inmo.micro_utils.repos
/
[android]SimpleMapperRepo
/
SimpleMapperRepo
Simple
Mapper
Repo
android
fun
<
FromKey
,
FromValue
,
ToKey
,
ToValue
>
SimpleMapperRepo
(
keyFromToTo
:
suspend
FromKey
.
(
)
->
ToKey
,
valueFromToTo
:
suspend
FromValue
.
(
)
->
ToValue
,
keyToToFrom
:
suspend
ToKey
.
(
)
->
FromKey
,
valueToToFrom
:
suspend
ToValue
.
(
)
->
FromValue
)